home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / conversion / pbmplus / doc / ppmrotate.doc < prev    next >
Text File  |  1995-02-13  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppmrotate(1)                PBM Plus                 ppmrotate(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      ppmrotate - rotate a portable pixmap by some angle
  10.  
  11. SYNOPSIS
  12.      ppmrotate angle [ppmfile]
  13.  
  14. DESCRIPTION
  15.      Reads a portable pixmap as input.  Rotates it by the speci-
  16.      fied angle and produces a portable pixmap as output.  The
  17.      angle is in degrees (floating point), measured counter-
  18.      clockwise.  It can be negative, but it should be between -90
  19.      and 90.
  20.  
  21.      The rotation algorithm is Alan Paeth's three-shear method.
  22.      Each shear is implemented by looping over the source pixels
  23.      and distributing fractions to each of the destination pix-
  24.      els.
  25.  
  26. REFERENCES
  27.      "A Fast Algorithm for General Raster Rotation" by Alan
  28.      Paeth, Graphics Interface '86, pp. 77-81.
  29.  
  30. SEE ALSO
  31.      ppmshear(1), pnmflip(1), ppm(5)
  32.  
  33. AUTHOR
  34.      Copyright (C) 1989 by Jef Poskanzer.
  35.  
  36.      Permission to use, copy, modify, and distribute this
  37.      software and its documentation for any purpose and without
  38.      fee is hereby granted, provided that the above copyright
  39.      notice appear in all copies and that both that copyright
  40.      notice and this permission notice appear in supporting docu-
  41.      mentation.  This software is provided "as is" without
  42.      express or implied warranty.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 5/25/90         15 February 1989                        1
  64.  
  65.  
  66.  
  67.